Automattic\WooCommerce\Internal\Orders\OrderActionsRestController A

Total Complexity 60
Dependencies 8
Dependents 2
Total lines 631
Lines of code 405
Logical lines of code 163
Comment lines 157
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
send_email()
A
38 14 73
get_available_email_templates()
A
45 9 44
send_order_details()
S
46 6 38
maybe_update_billing_email()
S
52 5 26
order_is_partially_refunded()
S
60 5 13
get_template_id_enum()
S
59 4 16
register_routes()
S
44 1 59
get_args_for_order_actions()
S
50 2 31
get_email_template_by_id()
S
61 3 13
get_email_templates()
S
52 2 25
get_schema_for_email_templates()
S
53 1 26
get_schema_for_order_actions()
S
58 1 16
validate_order_id()
S
66 2 8
run()
S
68 2 7
check_permissions()
S
69 2 7
get_rest_api_namespace()
S
82 1 3